<template>
  <div class="collection">
    <div id="big">
      <div id="bigRight">
        <div class="myOrder">
          <p>
            优惠券
            <span class="moreCouponButton" @click="routerPush()"><i class="el-icon-s-ticket" style="margin-right: 5px; vertical-align: middle; font-size: 20px;"></i>领取更多优惠券</span>
          </p>
        </div>
        <div class="allBig">
      <div class="allOrder">
        <ul class="allOrderTop">
          <li>
            <ol>
              <li :class="couponStatus === 0 ? 'buttonOrderStatus' : ''" @click="getCoupon()">可用优惠券</li>
              <el-badge :value="list.createNewCount" class="item">
                <li :class="couponStatus === 1 ? 'buttonOrderStatus' : ''" @click="getCouponByAlreadyUse()">已使用优惠券</li>
              </el-badge>
              <el-badge :value="list.sendCount" class="item">
                <li :class="couponStatus === 2 ? 'buttonOrderStatus' : ''" @click="getCouponByOutTime()">过期优惠券</li>
              </el-badge>
            </ol>
          </li>
        </ul>

      </div>

      <div class="table" >
        <div style="height: 350px; width: 250px; display: inline-block; margin-left: 50px; margin-bottom: 40px;"
             v-for="item in list" :key="item.id"
             :style="{border : couponStatus === 0 ? '1px rgb(116,210,212) solid' : '1px rgb(195,195,195) solid'}">
          <div style="height: 170px; width: 249px;"
          :style="{backgroundColor : couponStatus === 0 ? 'rgb(116,210,212)' : 'rgb(195,195,195)'}">
            <div style="text-align: center; padding-top: 25px; font-weight: bold; color: white">
              <span style="font-size: 20px;">￥</span>
              <span style="font-size: 35px;">{{ item.amount }}</span>
            </div>
            <div style="text-align: center; margin-top: 15px; color: white; font-size: 15px;">
              满{{ item.minPoint }}可用
            </div>
            <div style="text-align: center; margin-top: 30px; color: rgb(136,135,134); font-size: 15px;">
              {{ renderTime(item.startTime) }}-{{ renderTime(item.endTime) }}
            </div>
          </div>

          <div style="padding: 20px;">
            <div style="font-size: 15px;">
              <span style="color: rgb(112,102,102)">优惠券名： </span>
              <span style="color: rgb(153,153,153)">{{ item.couponName }}</span>
            </div>
            <div style="font-size: 15px; margin-top: 15px;">
              <span style="color: rgb(112,102,102)">限定类型： </span>
              <span style="color: rgb(153,153,153)">{{ item.useTypeString }}</span>
            </div>
          </div>
          <div v-show="couponStatus === 0" class="useCouponButton">立即使用</div>
        </div>
      </div>

<!--      <div class="order_btm">-->
<!--        <div>-->
<!--          <button>上一页</button>-->
<!--          <span>1</span>-->
<!--          <button>下一页</button>-->
<!--        </div>-->
<!--      </div>-->
      <div style="clear:both;"></div>
    </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Order',
  data() {
    return {
     list: {},
      couponStatus: 0
    }
  },
  created() {
    this.getCoupon()
  },
  methods: {
    routerPush(){
      let routeData = this.$router.resolve({
        path: '/more-coupon'
      });

      //必要操作，否则不会打开新页面
      window.open(routeData.href, '_blank');
    },
    getCoupon(){
      this.couponStatus = 0
      this.$store.dispatch('coupon/coupon/getCouponByCanUse')
        .then((data)=>{
          this.list = data.data
        })
        .catch(()=>{})
    },
    getCouponByAlreadyUse(){
      this.couponStatus = 1
      this.$store.dispatch('coupon/coupon/getCouponByAlreadyUse')
        .then((data)=>{
          console.log(data.data)
          this.list = data.data
        })
        .catch(()=>{})
    },
    getCouponByOutTime(){
      this.couponStatus = 2
      this.$store.dispatch('coupon/coupon/getCouponByOutTime')
        .then((data)=>{
          console.log(data.data)
          this.list = data.data
        })
        .catch(()=>{})
    },
    completeCountButton(){
      this.orderStatus = 3
      this.$store.dispatch('order/order/getOrder', 3)
        .then((data)=>{
          console.log(data.data)
          this.list = data.data
        })
        .catch(()=>{})
    },
    renderTime(date) {
      const dateee = new Date(date);
      const month = dateee.getMonth() + 1
      return dateee.getFullYear() + '.' + month + '.' + dateee.getDate()
    }
  }
}
</script>

<style lang="scss">
.el-badge__content.is-fixed{
  right: 30px;
  background-color: rgb(60,133,39);
}
</style>

<style lang="scss" scoped>
.moreCouponButton{
  float: right;
  margin-right: 20px;

  &:hover{
    cursor: pointer;
    color: rgb(60, 133, 69);
  }
}

.useCouponButton {
  font-size: 20px;
  color: rgb(116,210,212);
  border: 1px rgb(116,210,212) solid;
  border-radius: 20px;
  width: 150px;
  height: 40px;
  line-height: 37px;
  margin: 25px auto;
  text-align: center;

  &:hover {
    background-color: rgb(116,210,212);
    color: white;
    cursor: pointer;
  }
}

.buttonOrderStatus{
  color: rgb(60,133,39);
  border-bottom: 2px solid rgb(60,133,39);
}

.buttonPay{
  background: white;
  color: red;
  border: 1px solid red;
  width: 87px;
  height: 25px;
  font-weight: 600;

  &:hover{
    color: white;
    background-color: red;
    cursor: pointer;
  }
}

.buttonAck{
  background: white;
  color: rgb(60,133,39);
  border: 1px solid rgb(60,133,39);
  width: 87px;
  height: 25px;
  font-weight: 600;

  &:hover{
    color: white;
    background-color: rgb(60,133,39);
    cursor: pointer;
  }
}

.buttonLiJi{
  background: white;
  color: rgb(150,150,150);
  border: 1px solid rgb(150,150,150);
  width: 87px;
  height: 25px;
  font-weight: 600;

  &:hover{
    color: white;
    background-color: rgb(150,150,150);
    cursor: pointer;
  }
}

.collection {
  height: 100%;
  width: 100%;
  background-color: rgb(245, 245, 245);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

li,
ol,
ul {
  list-style: none; }

a {
  text-decoration: none; }

button,
input {
  outline: none; }

body {
  background: #F3F3F3; }

#nav {
  width: 1349px;
  background: #E2231A;
  height: 80px; }

nav {
  width: 1210px;
  margin: 0 auto;
  height: 80px;
  color: white; }
nav .logo,
nav .myjd,
nav .nav_ul {
  float: left; }
nav .myjd {
  padding-top: 16px;
  margin-left: 10px;
  text-align: center; }
nav .myjd button {
  background: none;
  border: 1px solid #FFB2B2;
  color: #FFB2B2;
  border-radius: 10px;
  margin-top: 5px;
  padding: 1px 3px; }
nav .myjd button:hover {
  background: white;
  color: #E2231A; }
nav .nav_ul {
  padding-top: 30px;
  margin-left: 30px;
  text-align: center; }
nav .nav_ul > li {
  float: left;
  width: 106px;
  position: relative; }
nav .nav_ul > li ol {
  border: 1px solid #ccc;
  border-top: none;
  position: absolute;
  left: -1px;
  top: 21px;
  color: black;
  background: white;
  width: 106px;
  display: none;
  z-index: 100; }
nav .nav_ul > li ol li {
  font-size: 14px;
  height: 30px;
  line-height: 30px; }
nav .right {
  float: right;
  padding-top: 30px; }
nav .right .btn {
  background: #F7F7F7; }
nav .right .btn input {
  width: 128px;
  height: 32px;
  border: none;
  text-indent: 5px; }
nav .right .btn button {
  height: 30px;
  width: 42px;
  background: #F7F7F7;
  border: none;
  font-size: 12px; }
nav .right .shop {
  margin-left: 20px;
  height: 30px;
  width: 141px;
  background: white;
  color: #736F6A; }
nav .right .shop > li {
  font-size: 12px;
  line-height: 32px;
  position: relative; }
nav .right .shop > li ol {
  position: absolute;
  top: 31px;
  left: -160px;
  box-shadow: 0 0 2px 2px #F3F3F3;
  display: none; }
nav .right .shop > li ol li {
  width: 300px;
  height: 60px;
  background: white; }
nav .right .shop > li ol li img {
  float: left;
  margin-left: 50px; }
nav .right .shop > li ol li div {
  height: 60px;
  line-height: 60px; }
nav .right .shop > li .shop_che {
  margin: 0 10px 0 20px;
  display: inline-block;
  height: 14px;
  width: 15px;
  //background: url("../img/jd2015img.png") no-repeat -1px -58px;
}
nav .right .btn,
nav .right .shop {
  float: left; }

.nav_ul .li .ul_i {
  margin-left: 5px;
  display: inline-block;
  height: 6px;
  width: 9px;
  //background: url("../img/icon (1).png") no-repeat 0 0;
  transition: -webkit-transform 0.2s ease-in 0s;
  transition: transform 0.2s ease-in 0s;
  transition: transform 0.2s ease-in 0s,-webkit-transform 0.2s ease-in 0s; }

.nav_ul .hover .ul_i {
  background-position: 0 -15px;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg); }

#big {
  width: 1300px;
  margin: 20px auto;
}
#big #bigLeft {
  float: left;
  width: 120px; }
#big #bigLeft ul {
  margin-bottom: 15px; }
#big #bigLeft ul h5 {
  margin-bottom: 5px; }
#big #bigLeft ul li {
  font-size: 12px;
  width: 100px;
  height: 24px;
  color: #777777; }
#big #bigLeft ul li img {
  margin-left: 3px;
  vertical-align: middle; }
#big #bigLeft ul li:hover {
  color: #E4393C;
  text-decoration: underline; }
#big #bigRight {
  width: 1300px;
  //float: left;
}
#big #bigRight .myOrder {
  background: white;
  height: 58px;
  line-height: 58px;
  margin-bottom: 20px; }
#big #bigRight .myOrder p {
  font-size: 14px;
  font-weight: bold;
  color: black;
  margin-left: 20px; }
#big #bigRight .allOrder {
  overflow: hidden;
  padding: 15px;
  background: white;
  line-height: 27px;
}
#big #bigRight .allOrder .allOrderTop {
  font-size: 13px; }
#big #bigRight .allOrder .allOrderTop ol {
  padding-right: 10px; }
#big #bigRight .allOrder .allOrderTop ol li {
  float: left;
  margin-right: 25px;

  &:hover{
    cursor: pointer;
    color: rgb(60,133,39);
  }
}
#big #bigRight .allOrder .allOrderTop ol li:first-child {
  //color: rgb(60,133,39);
  //border-bottom: 3px solid rgb(60,133,39);
  //text-decoration: underline;
  font-weight: 600;
}
#big #bigRight .allOrder .allOrderTop > li {
  float: left;
  border-right: 1px solid #ccc; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLi {
  width: 153px;
  text-align: center;
  font-weight: 600; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi {
  float: right;
  display: flex; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi span {
  display: inline-block;
  margin-right: 100px; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div {
  display: flex;
  align-items: center; }
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div input {
  width: 170px;
  font-size: 12px;
  height: 30px;
  border: 1px solid #ccc;
  padding-left: 10px;
}
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div .search {
  display: inline-block;
  width: 50px;
  height: 30px;
  border: 1px solid #ccc;
  //background: url("../img/order-icons.png") no-repeat 0 -55px;
}
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div .gao {
  display: inline-block;
  width: 60px;
  height: 30px;
  border: 1px solid #ccc;
}
#big #bigRight .allOrder .allOrderTop .allOrderTopLastLi div .gao i {
  display: inline-block;
  height: 8px;
  width: 5px;
  //background: url("../img/order-icons.png") no-repeat -37px -207px;
}
#big #bigRight .details {
  width: 1250px;
  background: white;
  margin-left: 15px;
}
#big #bigRight .details .detailsUl {
  background: #F3F3F3; }
#big #bigRight .details .detailsUl .detailsLiok {
  position: relative; }
#big #bigRight .details .detailsUl .detailsLiok ol {
  background: white;
  position: absolute;
  left: -1px;
  top: 31px;
  display: none;
  border: 1px solid #ccc;
  border-top: none;
  width: 110px;
  z-index: 100; }
#big #bigRight .details .detailsUl .detailsLiok ol li {
  height: 32px;
  line-height: 32px;
  width: 106px; }
#big #bigRight .details .detailsUl > li {
  float: left;
  font-size: 14px;
  text-align: center;
  height: 32px;
  line-height: 32px;
  width: 110px;
  margin-left: 10px; }
#big #bigRight .details .detailsUl .detailsUlDiv {
  width: 760px;
  background: #F3F3F3;
  float: left;
  text-align: center;
  font-size: 14px; }
#big #bigRight .details .detailsUl .detailsUlDiv > li:first-child {
  margin: 0 20px;
  position: relative; }
#big #bigRight .details .detailsUl .detailsUlDiv > li:first-child ol {
  position: absolute;
  top: 30px;
  left: -1px;
  width: 138px;
  display: none;
  border: 1px solid #ccc;
  border-top: none;
  background: white; }
#big #bigRight .details .detailsUl .detailsUlDiv > li:first-child ol li {
  height: 32px;
  line-height: 32px;
  width: 136px; }
#big #bigRight .details .detailsUl .detailsLi {
  width: 138px;
  float: left;
  height: 32px;
  line-height: 32px; }

.allBig {
  width: 1300px;
  min-height: 722px;
  padding: 10px 10px 20px;
  background: white; }
.allBig .allBig_i {
  margin-left: 10px;
  display: inline-block;
  width: 9px;
  height: 6px;
  //background: url("../img/order-icons.png") no-repeat -36px -207px;
}
.allBig .allBig_i1 {
  margin-left: 10px;
  display: inline-block;
  width: 9px;
  height: 6px;
  //background: url("../img/order-icons.png") no-repeat -20px -207px;
}
.allBig .table {
  margin-top: 20px;
  margin-left: 15px;
  width: 1350px;
  //border: 1px solid #ccc;
  font-size: 12px;
}
.allBig .table td {
  width: 115px;
  border-right: 1px solid #ccc;
  text-align: center; }
.allBig .table td:last-child {
  border: none; }
.allBig .table tr:first-child td {
  padding: 8px 0;
  text-indent: 8px;
  text-align: left;
  position: relative; }
.allBig .table tr:first-child td .isShow {
  display: none; }
.allBig .table tr:first-child td .table_i5 {
  position: absolute;
  right: 10px;
  top: 9px; }
.allBig .table tr:first-child td span {
  display: inline-block;
  margin-right: 30px;
  font-size: 12px; }
.allBig .table tr:first-child td span .table_i {
  display: inline-block;
  width: 16px;
  height: 16px;
  //background: url("../img/sprite-im.png") no-repeat -26px 0;
  vertical-align: middle;
  margin-left: 10px; }
.allBig .table .tr td:first-child {
  font-size: 12px;
  padding: 0 0 0 5px;
  width: 560px; }
.allBig .table .tr td:first-child p:hover {
  color: #E4393C; }
.allBig .table .tr td:first-child .img {
  float: left;
  margin: 10px 5px;
  border: 1px solid #ccc; }
.allBig .table .tr td:first-child div {
  float: left;
  margin: 10px 5px; }
.allBig .table td .table_i1 {
  width: 14px;
  height: 16px;
  //background: url("../img/order-icons.png") no-repeat 0 -24px;
  display: inline-block;
  vertical-align: middle; }
.allBig .table td .table_i2 {
  width: 22px;
  height: 16px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat -48px -24px;
  vertical-align: middle;
  margin-right: 5px; }
.allBig .table td .table_i3 {
  width: 7px;
  height: 7px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat 0 -115px;
  vertical-align: middle;
  margin-left: 5px; }
.allBig .table td .table_i4 {
  width: 14px;
  height: 16px;
  display: inline-block;
  //background: url("../img/zhaodapei.png") no-repeat -57px 0;
  margin-right: 5px; }
.allBig .table td .table_i5 {
  width: 13px;
  height: 14px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat -23px -131px;
}
.allBig .table td .table_i51 {
  width: 13px;
  height: 14px;
  display: inline-block;
  //background: url("../img/order-icons.png") no-repeat 0 -131px;
  position: absolute;
  right: 10px;
  top: 9px; }
//.allBig .table td button {
//  background: white;
//  color: rgb(60,133,39);
//  border: 1px solid rgb(60,133,39);
//  width: 87px;
//  height: 25px;
//  font-weight: 600;
//}
//.allBig .table td button:hover {
//  cursor: pointer;
//  color: white;
//  background: rgb(60,133,39);
//}
.allBig .table td:last-child p:hover {
  color: #E4393C; }
.allBig .table td .tdLi:hover {
  color: #E4393C; }
.allBig .order_btm div {
  float: right;
  margin-right: 20px;
  margin-top: 15px; }
.allBig .order_btm div span {
  color: red; }
.allBig .order_btm div button {
  height: 28px;
  width: 78px;
  border: 1px solid #ccc;
  background: none;
  border-radius: 6px; }

.buy {
  font-size: 14px;
  background: white;
  margin-top: 20px; }
.buy .buy_top {
  padding: 10px; }
.buy .buy_top div:first-child {
  font-weight: 600;
  float: left; }
.buy .buy_top div:last-child {
  float: right;
  font-size: 12px;
  margin-right: 9px; }
.buy .buy_btm {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 17px; }
.buy .buy_btm dl {
  float: left;
  border: 1px solid #ccc;
  width: 248px;
  width: 248px;
  padding: 0 10px;
  margin-right: 20px; }
.buy .buy_btm dl dt {
  text-align: center; }
.buy .buy_btm dl dt div {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 15px;
  margin-bottom: 3px;
  font-size: 20px;
  font-weight: 700px;
  color: #666666; }
.buy .buy_btm dl dt p {
  color: #E7513C;
  margin-bottom: 10px; }
.buy .buy_btm dl .ab_goods div:first-child {
  border: 1px solid #ccc; }
.buy .buy_btm dl .ab_goods > div {
  float: left; }
.buy .buy_btm dl .ab_goods > div img {
  display: block; }
.buy .buy_btm dl .ab_goods > div img:nth-child(2) {
  margin: 2.5px 0; }
.buy .buy_btm dl .ab_goods > div div {
  height: 50px;
  width: 48px;
  line-height: 50px;
  text-align: center;
  font-size: 30px;
  font-weight: 300;
  color: #9C9FA8;
  border: 1px solid #ccc;
  margin-top: 4px; }
.buy .buy_btm dl .ab_operate ul {
  padding-top: 8px;
  padding-bottom: 10px; }
.buy .buy_btm dl .ab_operate ul li {
  float: left;
  width: 103px; }
.buy .buy_btm dl .ab_operate ul li i {
  margin-right: 5px; }
.buy .buy_btm dl .ab_operate ul li:first-child {
  border-right: 1px solid #ccc; }
.buy .buy_btm dl .ab_operate ul li:nth-child(2) {
  text-align: right; }
.buy .buy_btm dl:nth-child(4) {
  margin-right: 0; }
.buy .buy_btm .buy_btm_i1 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat 0 0;
  vertical-align: middle; }
.buy .buy_btm .buy_btm_i1_1 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat -56px 0;
  vertical-align: middle; }
.buy .buy_btm .buy_btm_i2 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat -84px 0;
  vertical-align: middle; }
.buy .buy_btm .buy_btm_i2_1 {
  width: 28px;
  height: 28px;
  display: inline-block;
  //background: url("../img/1.png") no-repeat -140px 0;
  vertical-align: middle; }

.mySwiper {
  margin-top: 20px;
  background: white;
  height: 322px;
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-right: 20px; }
.mySwiper .mySwiper_like .left {
  float: left;
  font-size: 14px;
  margin-left: 20px; }
.mySwiper .mySwiper_like ol {
  float: right; }
.mySwiper .mySwiper_like ol li {
  float: left;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #ccc;
  text-align: center;
  line-height: 26px;
  margin-right: 5px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer; }
.mySwiper ul {
  width: 1089px;
  position: relative; }
.mySwiper ul li {
  position: absolute;
  top: 20px;
  background: white;
  width: 1089px;
  display: none;
  padding-bottom: 30px; }
.mySwiper ul li dl {
  width: 200px;
  float: left;
  margin-left: 15px; }
.mySwiper ul li dl dt {
  text-align: center; }
.mySwiper ul li dl dd {
  text-align: left;
  padding-left: 20px; }
.mySwiper ul li dl dd div {
  font-size: 12px;
  color: #666666; }
.mySwiper ul li dl dd p {
  font-size: 14px;
  font-weight: 600;
  color: #E4393C; }
.mySwiper ul li dl dd span {
  font-size: 12px;
  color: #3F72AC; }

#logo {
  background: white;
  width: 1089px;
  padding: 10px; }
#logo img {
  text-align: center; }

.footer {
  width: 1349px;
  padding-bottom: 18px;
  background: #eaeaea; }
.footer .top {
  width: 1210px;
  height: 102px;
  margin: 0 auto; }
.footer .top ul {
  padding-top: 30px;
  padding-left: 42px; }
.footer .top ul .item {
  float: left;
  width: 292px;
  height: 42px;
  line-height: 42px;
  font-size: 18px;
  font-weight: bold;
  color: #444; }
.footer .top ul .item i {
  float: left;
  display: block;
  top: 0;
  left: 0;
  width: 36px;
  height: 42px;
  text-indent: -9999px;
  //background-image: url("../img/ico_service.png");
  background-repeat: no-repeat;
  background-position: 0 0;
  margin-right: 5px; }
.footer .top ul .fore2 i {
  background-position: 0 -43px; }
.footer .top ul .fore3 i {
  background-position: 0 -86px; }
.footer .top ul .fore4 i {
  background-position: 0 -129px; }
.footer .wrap {
  width: 100%;
  height: 202px;
  border-top: solid 1px #dedede;
  border-bottom: solid 1px #dedede; }
.footer .wrap .wrap1 {
  width: 1210px;
  height: 202px;
  margin: 0 auto; }
.footer .wrap .wrap1 .wrap2 {
  width: 1181px;
  height: 202px;
  padding-top: 20px;
  padding-left: 45px; }
.footer .wrap .wrap1 .wrap2 dl:first-child {
  margin: 0; }
.footer .wrap .wrap1 .wrap2 dl {
  width: 150px;
  float: left;
  margin-left: 70px;
  margin-right: 20px; }
.footer .wrap .wrap1 .wrap2 dl dt {
  padding-bottom: 6px;
  font-weight: 700;
  font-size: 14px;
  color: #777;
  height: 22px; }
.footer .wrap .wrap1 .wrap2 dl dd {
  font-size: 12px;
  color: #666;
  height: 22px; }
.footer .wrap .wrap1 .wrap2 dl dd:hover {
  color: #f30213; }
.footer .p1 {
  width: 1240px;
  height: 18px;
  margin: 20px auto 5px; }
.footer .p1 a {
  width: 69px;
  text-align: center;
  display: inline-block;
  color: #666;
  float: left;
  font-size: 12px;
  margin-right: 5px;
  margin-left: 5px;
  border-right: 1px solid #666; }
.footer .p1 a:hover {
  color: #f30213; }
.footer .p2 {
  width: 1210px;
  height: 18px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p2 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p2 a:hover {
  color: #f30213; }
.footer .p3 {
  width: 1210px;
  height: 22px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p3 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p3 a:hover {
  color: #f30213; }
.footer .p4 {
  width: 1210px;
  height: 22px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p4 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p4 a:hover {
  color: #f30213; }
.footer .p5 {
  width: 1210px;
  height: 22px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5px; }
.footer .p5 a {
  display: inline-block;
  padding: 5px;
  color: #999;
  font-size: 11px; }
.footer .p5 a:hover {
  color: #f30213; }
.footer .img {
  width: 727px;
  height: 32px;
  margin: 0 auto;
  text-align: center;
  padding-left: 64px; }
.footer .img .span {
  display: inline-block;
  float: left;
  margin: 0 3px;
  width: 103px;
  height: 32px;
  //background-image: url("../img/ico_footer.png");
  background-position: 0 0;
  background-repeat: no-repeat; }
.footer .img .icon2 {
  background-position: -104px 0; }
.footer .img .icon3 {
  background-position: 0 -33px; }
.footer .img .icon4 {
  background-position: -104px -33px; }
.footer .img .icon5 {
  background-position: 0 -66px; }
.footer .img .icon6 {
  background-position: -104px -66px; }

.fixed {
  position: fixed;
  right: 0;
  bottom: 200px;
  text-align: right; }
.fixed .teSe {
  text-align: right;
  width: 40px; }
.fixed ul {
  width: 40px;
  padding-left: 40px; }
.fixed .test_li1 {
  width: 40px;
  height: 40px;
  //background: #ccc url("../img/tese.png") no-repeat 0 -1px;
  border-bottom: 1px solid white;
  position: relative; }
.fixed .test_li1 div {
  position: absolute;
  top: 115px;
  left: 120px;
  border: 3px solid transparent;
  border-left-color: white;
  /* border-right-color: green;
  border-top-color: yellow;
  border-bottom-color: blue; */
  height: 0;
  width: 0; }
.fixed .test_li1 ol {
  position: absolute;
  left: -120px;
  top: -100px;
  background: white;
  padding: 10px;
  display: none; }
.fixed .test_li1 ol > li {
  width: 100px;
  text-align: left;
  font-size: 12px;
  height: 30px;
  color: #666; }
.fixed .test_li1 ol > li:hover {
  color: #E4393C;
  transform: translateX(3px); }
.fixed .test_li1:hover {
  //background: #C81623 url("../img/tese.png") no-repeat 0 -1px;
}
.fixed .test_li2 {
  width: 40px;
  height: 40px;
  //background: #ccc url("../img/tese.png") no-repeat 0 -46px;
}
.fixed .test_li2:hover {
  background-position: -52px -40px; }
.fixed .test_li3 {
  width: 40px;
  height: 40px;
  border-top: 1px dotted white;
  display: block;
  display: none;
  //background: #ccc url("../img/tese.png") no-repeat 0 -88px;
}
.fixed .test_li3:hover {
  //background: #C81623 url("../img/tese.png") no-repeat 0 -88px;
}

.hide {
  position: relative; }
.hide .hi {
  position: absolute;
  max-height: 410px;
  padding-left: 5px;
  margin-bottom: 20px;
  line-height: 20px;
  top: -102px;
  right: 105px;
  z-index: 100;
  text-align: left;
  min-width: 337px;
  background: white;
  box-shadow: -3px -3px 20px 0px #ccc;
  display: none; }
.hide .hi .p-tit {
  height: 40px;
  line-height: 40px;
  font-weight: 700;
  border-bottom: 1px solid  #e3e3e3;
  padding-top: 0;
  padding-left: 10px;
  padding-bottom: 18px; }
.hide .hi .hideList ul li {
  margin-bottom: 20px;
  width: 340px;
  padding: 15px 10px 0 15px;
  border-left: 1px solid #e3e3e3; }

/*# sourceMappingURL=index.css.map */

</style>
